@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';

::-webkit-scrollbar {display:none}

body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;

  --color-primary: #1890ff;
	--color-success: #13ce66;
	--color-warning: #f9ae1b;
	--color-danger: #ff4949;
	--color-info: #5d5d5d;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}


.container{
  padding: 15px;
}

.iconfont{
   margin-right: 5px;
}

.page-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.page-header {
  color: #ffffff;
  padding: 15px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px #00152914;
}
.page-header * {
  color: #ffffff;
}

.page-header .btn-group {
  margin-left: 5px;
  position: relative;
}
.page-header .btn-group .el-button {
  position: absolute;
  top: -6px;
}
.page-content {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
}


.el-table__row .el-button--text{
  padding: 0px;
}

.text-right {
  text-align: right;
}

.el-menu {
  border-right: unset;
}

.el-menu-item:hover,.el-submenu__title:hover {
  background-color: unset !important;
}

.el-menu-item.is-active,.el-menu-item.is-active:hover,.el-submenu.is-active .el-submenu__title {
  background-color: #5583d28f !important;
  border-radius: 6px !important;
  box-shadow: 2px 2px 5px rgba(20,20,20,0.3) !important;
}

.el-submenu.is-active .el-submenu__title {
  margin-bottom: 15px;
}

.el-submenu .el-menu-item {
  min-width: unset !important;
  height: 45px!important;
  line-height: 45px!important;
  text-align: center;
}

.el-divider.el-divider--horizontal {
  margin: 15px 0px;
}

.el-alert {
  padding: 0px 16px;
}
